<template>
  <div>
    <h1>home</h1>
    <!-- router-link 定义点击后导航到哪个路径下 -->
    <router-link to="/home">Home</router-link><br />
    <router-link to="/about">About</router-link>
  </div>
</template>

<script>
export default {
  name: "home.vue",
  data() {
    return {
      msg: "hello home"
    }
  },
}
</script>

<style scoped>

</style>